//-----------------------------------------------------------------------------
//	File: printf.c
//	Author: hsia
//		bsp of printf using usart
//-----------------------------------------------------------------------------

#ifndef __PRINTF_H__
#define	__PRINTF_H__

#include "stm32f10x.h"
#include <stdio.h>
#include "usart3.h"

//-----------------------------------------------------------------------------
//	fputc - printf remap
// 		@return: The send data.
//-----------------------------------------------------------------------------
int fputc(int ch, FILE *f);

//-----------------------------------------------------------------------------
//	fputc - printf remap
// 		@return: The send data.
//-----------------------------------------------------------------------------
int fgetc(FILE *f);

#endif
